import {defineConfig} from 'vite'
import vue from '@vitejs/plugin-vue'
import * as path from "node:path";

// https://vitejs.dev/config/
export default defineConfig({
    base: "./",
    plugins: [vue()],
    server: {
        port: 8080
    },
    resolve: {
        alias: {
            "@assets": path.resolve(__dirname, './src/assets'),
            "@": path.resolve(__dirname, './src'),
            'assets': path.resolve(__dirname, 'src/assets'),
        },
    },
    build: {
        assetsInlineLimit: 0,
    }
})
